<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'contact-admin-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'from_users_id'); ?>
</div>
		<div class="rowControl"><?php echo $form->dropDownList($model, 'from_users_id', GxHtml::listDataEx(Users::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'from_users_id'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'backend_user_id'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'backend_user_id'); ?>
		<?php echo $form->error($model,'backend_user_id'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'query'); ?>
</div>
		<div class="rowControl"><?php echo $form->textArea($model, 'query'); ?>
		<?php echo $form->error($model,'query'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'created'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'created'); ?>
		<?php echo $form->error($model,'created'); ?>
		</div><!-- row -->
                </div>
        

        
             
<div class="row">
<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div>
</div>
<!-- form -->
